<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>网页菜单</title>
		<style>
			ul{
				list-style: none;
			}
			li{
				float:left;
				margin-right: 8px;
				background-color: #ee1100;
				padding: 5px 10px 5px 10px;
				border-radius: 5px;
			}
			li:hover{/*鼠标移入 */
				background-color: aqua;
			}
			a{
				text-decoration: none;
				color: white;
			}
		</style>
	</head>
	<body>
		<h3>使用ul和li标签来实现，通过样式修饰来实现</h3>
		
		<ul>
			<li><a href="https://www.baidu.com/"target="_blank">W3CShool</a></li>
			<li><a href="https://www.baidu.com/"target="_blank">菜鸟教程</a></li>
			<li><a href="https://www.baidu.com/"target="_blank">CSDN</a></li>
			<li><a href="https://www.baidu.com/"target="_blank">思否</a></li>
			<li><a href="https://www.baidu.com/"target="_blank">java培优</a></li>
		</ul>
	</body>
</html>
